<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 1.caption   标题
    2.colgroup sapn
    col span          分组[列]
    3.rules="none[只有table有边框]/all/cols[table和列都有边框]/rows[table和行有边框]/groups"
    4.thead/tboddy/tfoot -->
    <table border="1px" cellspacing="0" height="120px" rules=groups>
        <!-- colgroup只能设置宽度，bgcolor -->
        <!-- <colgroup span="1" bgcolor="pink"></colgroup>
        <colgroup span="2" bgcolor="orange"></colgroup>
        <colgroup span="1" bgcolor="skyblue"></colgroup> -->
        <col span="1" bgcolor="pink">
        <col span="2" bgcolor="orange">
        <col span="1" bgcolor="skyblue">
        <!-- colgroup可以包裹col
        <colgroup span="2">
            <col span="1" bgcolor="pink">
            <col span="1" bgcolor="pink">
        </colgroup> -->
        <tr>
            <td>12455</td>
            <td>23515</td>
            <td>5555</td>
            <td>54545</td>
        </tr>
        <tr>
            <td>12455</td>
            <td>23515</td>
            <td>5555</td>
            <td>54545</td>
        </tr>
    </table>
</body>
</html>